<html>
<body>
Reports explicit calls to <code>get</code> or <code>set</code> functions which can be replaced by an indexing operator <code>[]</code>.
<p>
    Kotlin allows custom implementations for the predefined set of operators on types.
    To overload an operator, you can mark the corresponding function with the <code>operator</code> modifier:
    <pre><code>
  operator fun get(index: Int) {}
  operator fun set(index: Int, value: Int) {}
    </code></pre>

The functions above correspond to the indexing operator.

<p><b>Example:</b></p>
<pre><code>  class Test {
      operator fun get(i: Int): Int = 0
  }

  fun test() {
      Test().get(0) // replaceable 'get()'
  }
</code></pre>
<p>After the quick-fix is applied:</p>
<pre><code>  class Test {
      operator fun get(i: Int): Int = 0
  }

  fun test() {
      Test()[0]
  }
</code></pre>
</body>
</html>
